package com.zhongli.devplatform.dto.student;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/8/3 9:53
 */
@Data
@ApiModel
public class CommitOperationDTO {
    /**
     * 作业id
     */
    @NotNull
    @ApiModelProperty(value = "作业id必填", required = true)
    private Integer id;

    /**
     * 班级id
     */
    @NotNull
    @ApiModelProperty(value = "班级id必填（用于每次检测老师有没有批改完所有人）", required = true)
    private Integer clazzId;


    /**
     * 评语
     */
    @NotBlank
    @ApiModelProperty(value = "评语必填",required = true)
    private String comment;

}
